package cn.javass.dp.decorator.mydemo1;

public class Client {

    public static void main(String[] args) {

        Component component = new ConcreteConponent();

        Decorator decorator = new ConcreateDecoratorB(new ConcreateDecoratorA(component));

        decorator.operation();

    }
}
